#pragma once 

#include <string>

#define LOGIN_REQUEST   100
#define LOGIN_RESPONSE  101

class Message  {
public:
  Message(int seqNo, int type, const std::string & body) : _seqNo(seqNo), _type(type), _body(body){}
  ~Message(){}
  const int seqNo() const { return _seqNo;}
  void seqNo(const int seqNo) { _seqNo = seqNo;}
  const int type() const { return _type; }

  const std::string body() const { return _body;}

private:
  int _seqNo;
  int _type;
  std::string _body;
};

void test_message();
